package com.hzvictory.hotel_system.pojo.entity;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
//import com.hzvictory.hotel_system.common.annotation.Excel;
import com.hzvictory.hotel_system.common.core.domain.BaseEntity;

/**
 * 房间表对象 room
 *
 * @author hzvictory
 * @date 2025-07-23
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 房间号 */
   //@Excel(name = "房间号")
    private String roomNumber;

    /** 房间类型 */
    //@Excel(name = "房间类型")
    private String type;

    /** 价格 */
   // @Excel(name = "价格")
    private BigDecimal price;

    /** 可容纳人数 */
    //@Excel(name = "可容纳人数")
    private Long capacity;

    /** 状态：1空闲，0已预订，2已入住，3维修中 */
    //@Excel(name = "状态：1空闲，0已预订，2已入住，3维修中")
    private Long status;

    /** 房间描述 */
    //@Excel(name = "房间描述")
    private String description;

    /** 房间图片URL */
    //@Excel(name = "房间图片URL")
    private String imageUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setRoomNumber(String roomNumber)
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber()
    {
        return roomNumber;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }

    public void setCapacity(Long capacity)
    {
        this.capacity = capacity;
    }

    public Long getCapacity()
    {
        return capacity;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("roomNumber", getRoomNumber())
                .append("type", getType())
                .append("price", getPrice())
                .append("capacity", getCapacity())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("imageUrl", getImageUrl())
                .toString();
    }
}
